<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page import="com.wzw.util.VisitorCounter"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%
	final String counterFile = request.getRealPath("/")+ "visitorcounter.txt";
	//out.println(counterFile);
	String from = request.getParameter("from");
	VisitorCounter.startSaver(counterFile);
	VisitorCounter.getInstance().add(from);
	if(null == from) {
		from = "0";
	}
	response.sendRedirect("tcxb/main.jsp?from=" + from);
%>